package com.cxs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * @ClassName: SeatOrder
 * @description:   座位预定表
 * @author: 诗涵
 * @create: 2024-01-07 08:17
 */
@TableName(value ="t_seat_order")
@Data
public class SeatOrder implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 学号
     */
    private Integer sno;
    private Integer seatId;

    /**
     * 预定日期
     */
    private LocalDate date;

    /**
     * 预定开始时间
     */
    private Integer startTime;

    /**
     * 预定结束时间
     */
    private Integer endTime;
    private String reservationMark;

    /**
     * 预定时间
     */
    private LocalDateTime createTime;
}
